package com.zcily.demo.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class DemoJob {

    @XxlJob("simple-job")
    public void simpleJob() {
        log.info("简单任务执行了。。。。");
    }
}
